package com.dx.mes.common.core;

/**
 * Created by cmj on 2017/12/27.
 */
import com.dx.mes.common.bean.entity.TableHistoryConfig;
import com.dx.mes.common.transcoder.util.JacksonUtil;
import com.dx.mes.common.transcoder.util.ObjectTranscoder;
import org.apache.commons.lang.StringUtils;
import redis.clients.jedis.Jedis;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.*;
import java.util.stream.Collectors;
public class JedisTest2 {
    public static void main(String[] args) {
        try (Jedis jedis = new Jedis("10.140.2.21")) {
                jedis.set("a", "中文");
             System.out.println(jedis.get("a"));
        } catch (Exception ex) {
        ex.printStackTrace();
    }
}
}
